#ifndef CUSTOMERWIDGET_H
#define CUSTOMERWIDGET_H

#include <QWidget>
#include "customer.h"

namespace Ui {
class customerWidget;
}

class customerWidget : public QWidget
{
    Q_OBJECT

public:
    explicit customerWidget(const QString name,const QString pwd,QWidget *parent = nullptr);
    ~customerWidget();


private slots:
    void on_queryname_clicked();

    void on_querypopular_clicked();

    void on_queryall_clicked();

    void on_queryprice_clicked();

    void on_order_clicked();

    void on_startorder_clicked();

    void on_checkorder_clicked();

    void on_submitorder_clicked();

    void on_return_2_clicked();

    void on_orderagain_clicked();

private:
    Ui::customerWidget *ui;
    customer c;
};

#endif // CUSTOMERWIDGET_H
